#!/bin/bash
HADOOP_ROOT_DIR=/naver/hadoop
wget http://apache.mirror.cdnetworks.com/hadoop/common/stable/hadoop-2.2.0.tar.gz
tar xvfz hadoop-2.2.0.tar.gz 
sudo mkdir -p $HADOOP_ROOT_DIR
sudo mv hadoop-2.2.0 $HADOOP_ROOT_DIR
chown -R irteam.irteam $HADOOP_ROOT_DIR
